//COMMON IMPORTS
@import "../config/imports";

h1, h2, h3, h4, h5, h6 {
	font-family: 'Oswald', sans-serif;
}

p, a, span, li, strong, b {
	font-family: 'Poppins', sans-serif;
}

.custom-primary-font {
	font-family: 'Oswald', sans-serif !important;
}

.custom-secondary-font {
	font-family: 'Poppins', sans-serif !important;
}

.custom-tertiary-font {
	font-family: 'Playfair Display', sans-serif !important;
}

.custom-bg-color-1 {
	background-color: #F6F3EF !important;
}

.custom-h-1 {
	height: 4px !important;
}

// Custom Animations
@keyframes customFadeInRightShorter {
	from {
	    opacity: 0;
	    transform: translate(-50px, -50%);
	}

	to {
	    opacity: 0.1;
	    transform: translate(0, -50%);
	}
}

.customFadeInRightShorter {
	animation-name: customFadeInRightShorter;
}

@keyframes customHeaderAnimOne {
	from {
	    height: 100%;
	}

	to {
	    height: 0;
	}
}

.customHeaderAnimOne {
	&:before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 0;
		background: #FFF;
		animation-name: customHeaderAnimOne;
	    animation-duration: inherit;
	    animation-fill-mode: inherit;
	}
}

// Custom Menu Item
.custom-menu-item {
	.custom-menu-item-details {
		display: flex;
		justify-content: between;
		.custom-menu-item-title,
		.custom-menu-item-price {
			white-space: nowrap;
		}
		.custom-menu-item-price {
			strong {
				font-size: 1.3rem;
				> span {
					font-size: 0.6em;
				}
			}
		}
		.custom-menu-item-line {
			width: 100%;
			border-bottom: dashed 1px #777;
		}
	}
}

// Header
#header {
	.header-nav-main {
		nav {
			> ul {
				> li {
					> a {
						font-family: 'Oswald', sans-serif;
					    font-size: 0.9rem;
					    letter-spacing: 0;
					    font-weight: 400;
					}
				}
			}
		}
	}
}

@media(min-width: 992px) {
	html.sticky-header-active {
		.header-logo {
			img {
				width: 140px;
				height: auto;
				top: 16px !important;
			}
		}
	}
}

// Custom Section Half Bar Background
.custom-section-halfbar-bg {
	position: absolute;
	top: 50%;
	#{$right}: 0;
	width: 50vw;
	height: 40%;
	border-radius: 10px 0 0 10px;
	background: #CCC;
	opacity: 0.1;
	transform: translate3d(0, -50%, 0);
}

@media(max-width: 991px) {
	.custom-section-halfbar-bg {
		height: 20%;
	}
}

// Custom Column Background
.custom-column-bg {
	position: relative;
	&:before {
		content: '';
		position: absolute;
		top: 50%;
		#{$right}: 0;
		width: 50vw;
		height: 100%;
		border-radius: side-values(0 10px 10px 0);
		background: $color-dark;
		opacity: 0.6;
	    transform: translate3d(0, -50%, 0);
	    z-index: -1;
	}
}

@media(max-width: 767px) {
	.custom-column-bg {
		&:before {
			width: 100%;
			border-radius: 10px;
		}
	}
}

@media(max-width: 575px) {
	.custom-column-bg {
		&:before {
			width: calc(100% - 30px);
		    margin-right: 15px;
		}
	}
}